package com.regent.central.bill.repository.storehouse;

import com.regent.central.bill.core.storehouse.StockStyle;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;

public interface StockStyleMapper extends Mapper<StockStyle> {

    /**
     * 更新库存
     *
     * @param goodsId
     * @param storehouseId
     * @param stock
     */
    void updateStock(@Param("goodsId") String goodsId, @Param("storehouseId") String storehouseId, @Param("stock") BigDecimal stock);
}